/**
 * Jul 12, 2012
 */
package ee.edisoft.common.model;

import org.javalite.activejdbc.Model;
import org.javalite.activejdbc.annotations.BelongsTo;
import org.javalite.activejdbc.annotations.Table;

/**
 * @author andrei
 *
 */
@Table("details")
@BelongsTo(parent = HeaderModel.class, foreignKeyName = "header_id")
public class DetailModel extends Model {
   	
	public int getLinenumber() {
		return this.getInteger("linenumber");
	}
	public int getSupplieritemcode() {
		return this.getInteger("supplieritemcode");
	}
	public String getInvoicequantity() {
		return this.getString("invoicequantity");
	}
	public String getInvoiceunitnetprice() {
		return this.getString("invoiceunitnetprice");
	}

}
